package com.tm.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class SpOrderSkuCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SpOrderSkuCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("order_id is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("order_id is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(String value) {
            addCriterion("order_id =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(String value) {
            addCriterion("order_id <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(String value) {
            addCriterion("order_id >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(String value) {
            addCriterion("order_id >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(String value) {
            addCriterion("order_id <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(String value) {
            addCriterion("order_id <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLike(String value) {
            addCriterion("order_id like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotLike(String value) {
            addCriterion("order_id not like", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<String> values) {
            addCriterion("order_id in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<String> values) {
            addCriterion("order_id not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(String value1, String value2) {
            addCriterion("order_id between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(String value1, String value2) {
            addCriterion("order_id not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNull() {
            addCriterion("sku_id is null");
            return (Criteria) this;
        }

        public Criteria andSkuIdIsNotNull() {
            addCriterion("sku_id is not null");
            return (Criteria) this;
        }

        public Criteria andSkuIdEqualTo(Integer value) {
            addCriterion("sku_id =", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotEqualTo(Integer value) {
            addCriterion("sku_id <>", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThan(Integer value) {
            addCriterion("sku_id >", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("sku_id >=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThan(Integer value) {
            addCriterion("sku_id <", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdLessThanOrEqualTo(Integer value) {
            addCriterion("sku_id <=", value, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdIn(List<Integer> values) {
            addCriterion("sku_id in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotIn(List<Integer> values) {
            addCriterion("sku_id not in", values, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdBetween(Integer value1, Integer value2) {
            addCriterion("sku_id between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andSkuIdNotBetween(Integer value1, Integer value2) {
            addCriterion("sku_id not between", value1, value2, "skuId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdIsNull() {
            addCriterion("promote_id is null");
            return (Criteria) this;
        }

        public Criteria andPromoteIdIsNotNull() {
            addCriterion("promote_id is not null");
            return (Criteria) this;
        }

        public Criteria andPromoteIdEqualTo(Integer value) {
            addCriterion("promote_id =", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdNotEqualTo(Integer value) {
            addCriterion("promote_id <>", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdGreaterThan(Integer value) {
            addCriterion("promote_id >", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("promote_id >=", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdLessThan(Integer value) {
            addCriterion("promote_id <", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdLessThanOrEqualTo(Integer value) {
            addCriterion("promote_id <=", value, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdIn(List<Integer> values) {
            addCriterion("promote_id in", values, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdNotIn(List<Integer> values) {
            addCriterion("promote_id not in", values, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdBetween(Integer value1, Integer value2) {
            addCriterion("promote_id between", value1, value2, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteIdNotBetween(Integer value1, Integer value2) {
            addCriterion("promote_id not between", value1, value2, "promoteId");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoIsNull() {
            addCriterion("promote_type_no is null");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoIsNotNull() {
            addCriterion("promote_type_no is not null");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoEqualTo(String value) {
            addCriterion("promote_type_no =", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoNotEqualTo(String value) {
            addCriterion("promote_type_no <>", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoGreaterThan(String value) {
            addCriterion("promote_type_no >", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoGreaterThanOrEqualTo(String value) {
            addCriterion("promote_type_no >=", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoLessThan(String value) {
            addCriterion("promote_type_no <", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoLessThanOrEqualTo(String value) {
            addCriterion("promote_type_no <=", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoLike(String value) {
            addCriterion("promote_type_no like", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoNotLike(String value) {
            addCriterion("promote_type_no not like", value, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoIn(List<String> values) {
            addCriterion("promote_type_no in", values, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoNotIn(List<String> values) {
            addCriterion("promote_type_no not in", values, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoBetween(String value1, String value2) {
            addCriterion("promote_type_no between", value1, value2, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andPromoteTypeNoNotBetween(String value1, String value2) {
            addCriterion("promote_type_no not between", value1, value2, "promoteTypeNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoIsNull() {
            addCriterion("sku_no is null");
            return (Criteria) this;
        }

        public Criteria andSkuNoIsNotNull() {
            addCriterion("sku_no is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNoEqualTo(String value) {
            addCriterion("sku_no =", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotEqualTo(String value) {
            addCriterion("sku_no <>", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoGreaterThan(String value) {
            addCriterion("sku_no >", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoGreaterThanOrEqualTo(String value) {
            addCriterion("sku_no >=", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLessThan(String value) {
            addCriterion("sku_no <", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLessThanOrEqualTo(String value) {
            addCriterion("sku_no <=", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoLike(String value) {
            addCriterion("sku_no like", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotLike(String value) {
            addCriterion("sku_no not like", value, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoIn(List<String> values) {
            addCriterion("sku_no in", values, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotIn(List<String> values) {
            addCriterion("sku_no not in", values, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoBetween(String value1, String value2) {
            addCriterion("sku_no between", value1, value2, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNoNotBetween(String value1, String value2) {
            addCriterion("sku_no not between", value1, value2, "skuNo");
            return (Criteria) this;
        }

        public Criteria andSkuNotesIsNull() {
            addCriterion("sku_notes is null");
            return (Criteria) this;
        }

        public Criteria andSkuNotesIsNotNull() {
            addCriterion("sku_notes is not null");
            return (Criteria) this;
        }

        public Criteria andSkuNotesEqualTo(String value) {
            addCriterion("sku_notes =", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesNotEqualTo(String value) {
            addCriterion("sku_notes <>", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesGreaterThan(String value) {
            addCriterion("sku_notes >", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesGreaterThanOrEqualTo(String value) {
            addCriterion("sku_notes >=", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesLessThan(String value) {
            addCriterion("sku_notes <", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesLessThanOrEqualTo(String value) {
            addCriterion("sku_notes <=", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesLike(String value) {
            addCriterion("sku_notes like", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesNotLike(String value) {
            addCriterion("sku_notes not like", value, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesIn(List<String> values) {
            addCriterion("sku_notes in", values, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesNotIn(List<String> values) {
            addCriterion("sku_notes not in", values, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesBetween(String value1, String value2) {
            addCriterion("sku_notes between", value1, value2, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuNotesNotBetween(String value1, String value2) {
            addCriterion("sku_notes not between", value1, value2, "skuNotes");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIsNull() {
            addCriterion("sku_unit is null");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIsNotNull() {
            addCriterion("sku_unit is not null");
            return (Criteria) this;
        }

        public Criteria andSkuUnitEqualTo(String value) {
            addCriterion("sku_unit =", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotEqualTo(String value) {
            addCriterion("sku_unit <>", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitGreaterThan(String value) {
            addCriterion("sku_unit >", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitGreaterThanOrEqualTo(String value) {
            addCriterion("sku_unit >=", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLessThan(String value) {
            addCriterion("sku_unit <", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLessThanOrEqualTo(String value) {
            addCriterion("sku_unit <=", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitLike(String value) {
            addCriterion("sku_unit like", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotLike(String value) {
            addCriterion("sku_unit not like", value, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitIn(List<String> values) {
            addCriterion("sku_unit in", values, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotIn(List<String> values) {
            addCriterion("sku_unit not in", values, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitBetween(String value1, String value2) {
            addCriterion("sku_unit between", value1, value2, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuUnitNotBetween(String value1, String value2) {
            addCriterion("sku_unit not between", value1, value2, "skuUnit");
            return (Criteria) this;
        }

        public Criteria andSkuAccountIsNull() {
            addCriterion("sku_account is null");
            return (Criteria) this;
        }

        public Criteria andSkuAccountIsNotNull() {
            addCriterion("sku_account is not null");
            return (Criteria) this;
        }

        public Criteria andSkuAccountEqualTo(BigDecimal value) {
            addCriterion("sku_account =", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountNotEqualTo(BigDecimal value) {
            addCriterion("sku_account <>", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountGreaterThan(BigDecimal value) {
            addCriterion("sku_account >", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_account >=", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountLessThan(BigDecimal value) {
            addCriterion("sku_account <", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_account <=", value, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountIn(List<BigDecimal> values) {
            addCriterion("sku_account in", values, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountNotIn(List<BigDecimal> values) {
            addCriterion("sku_account not in", values, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_account between", value1, value2, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuAccountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_account not between", value1, value2, "skuAccount");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceIsNull() {
            addCriterion("sku_order_price is null");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceIsNotNull() {
            addCriterion("sku_order_price is not null");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceEqualTo(BigDecimal value) {
            addCriterion("sku_order_price =", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_order_price <>", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceGreaterThan(BigDecimal value) {
            addCriterion("sku_order_price >", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_order_price >=", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceLessThan(BigDecimal value) {
            addCriterion("sku_order_price <", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_order_price <=", value, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceIn(List<BigDecimal> values) {
            addCriterion("sku_order_price in", values, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_order_price not in", values, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_order_price between", value1, value2, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuOrderPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_order_price not between", value1, value2, "skuOrderPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceIsNull() {
            addCriterion("sku_current_price is null");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceIsNotNull() {
            addCriterion("sku_current_price is not null");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceEqualTo(BigDecimal value) {
            addCriterion("sku_current_price =", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_current_price <>", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceGreaterThan(BigDecimal value) {
            addCriterion("sku_current_price >", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_current_price >=", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceLessThan(BigDecimal value) {
            addCriterion("sku_current_price <", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_current_price <=", value, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceIn(List<BigDecimal> values) {
            addCriterion("sku_current_price in", values, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_current_price not in", values, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_current_price between", value1, value2, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuCurrentPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_current_price not between", value1, value2, "skuCurrentPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNull() {
            addCriterion("sku_price is null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIsNotNull() {
            addCriterion("sku_price is not null");
            return (Criteria) this;
        }

        public Criteria andSkuPriceEqualTo(BigDecimal value) {
            addCriterion("sku_price =", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotEqualTo(BigDecimal value) {
            addCriterion("sku_price <>", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThan(BigDecimal value) {
            addCriterion("sku_price >", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price >=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThan(BigDecimal value) {
            addCriterion("sku_price <", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_price <=", value, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceIn(List<BigDecimal> values) {
            addCriterion("sku_price in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotIn(List<BigDecimal> values) {
            addCriterion("sku_price not in", values, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_price not between", value1, value2, "skuPrice");
            return (Criteria) this;
        }

        public Criteria andSkuFeeIsNull() {
            addCriterion("sku_fee is null");
            return (Criteria) this;
        }

        public Criteria andSkuFeeIsNotNull() {
            addCriterion("sku_fee is not null");
            return (Criteria) this;
        }

        public Criteria andSkuFeeEqualTo(BigDecimal value) {
            addCriterion("sku_fee =", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeNotEqualTo(BigDecimal value) {
            addCriterion("sku_fee <>", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeGreaterThan(BigDecimal value) {
            addCriterion("sku_fee >", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_fee >=", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeLessThan(BigDecimal value) {
            addCriterion("sku_fee <", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_fee <=", value, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeIn(List<BigDecimal> values) {
            addCriterion("sku_fee in", values, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeNotIn(List<BigDecimal> values) {
            addCriterion("sku_fee not in", values, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_fee between", value1, value2, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuFeeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_fee not between", value1, value2, "skuFee");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateIsNull() {
            addCriterion("sku_delivery_date is null");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateIsNotNull() {
            addCriterion("sku_delivery_date is not null");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateEqualTo(String value) {
            addCriterion("sku_delivery_date =", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateNotEqualTo(String value) {
            addCriterion("sku_delivery_date <>", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateGreaterThan(String value) {
            addCriterion("sku_delivery_date >", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateGreaterThanOrEqualTo(String value) {
            addCriterion("sku_delivery_date >=", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateLessThan(String value) {
            addCriterion("sku_delivery_date <", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateLessThanOrEqualTo(String value) {
            addCriterion("sku_delivery_date <=", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateLike(String value) {
            addCriterion("sku_delivery_date like", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateNotLike(String value) {
            addCriterion("sku_delivery_date not like", value, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateIn(List<String> values) {
            addCriterion("sku_delivery_date in", values, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateNotIn(List<String> values) {
            addCriterion("sku_delivery_date not in", values, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateBetween(String value1, String value2) {
            addCriterion("sku_delivery_date between", value1, value2, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuDeliveryDateNotBetween(String value1, String value2) {
            addCriterion("sku_delivery_date not between", value1, value2, "skuDeliveryDate");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIsNull() {
            addCriterion("sku_weight is null");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIsNotNull() {
            addCriterion("sku_weight is not null");
            return (Criteria) this;
        }

        public Criteria andSkuWeightEqualTo(BigDecimal value) {
            addCriterion("sku_weight =", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotEqualTo(BigDecimal value) {
            addCriterion("sku_weight <>", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightGreaterThan(BigDecimal value) {
            addCriterion("sku_weight >", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_weight >=", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightLessThan(BigDecimal value) {
            addCriterion("sku_weight <", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_weight <=", value, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightIn(List<BigDecimal> values) {
            addCriterion("sku_weight in", values, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotIn(List<BigDecimal> values) {
            addCriterion("sku_weight not in", values, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_weight between", value1, value2, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_weight not between", value1, value2, "skuWeight");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeIsNull() {
            addCriterion("sku_volume is null");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeIsNotNull() {
            addCriterion("sku_volume is not null");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeEqualTo(BigDecimal value) {
            addCriterion("sku_volume =", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeNotEqualTo(BigDecimal value) {
            addCriterion("sku_volume <>", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeGreaterThan(BigDecimal value) {
            addCriterion("sku_volume >", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_volume >=", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeLessThan(BigDecimal value) {
            addCriterion("sku_volume <", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("sku_volume <=", value, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeIn(List<BigDecimal> values) {
            addCriterion("sku_volume in", values, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeNotIn(List<BigDecimal> values) {
            addCriterion("sku_volume not in", values, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_volume between", value1, value2, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andSkuVolumeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("sku_volume not between", value1, value2, "skuVolume");
            return (Criteria) this;
        }

        public Criteria andIsCommontIsNull() {
            addCriterion("is_commont is null");
            return (Criteria) this;
        }

        public Criteria andIsCommontIsNotNull() {
            addCriterion("is_commont is not null");
            return (Criteria) this;
        }

        public Criteria andIsCommontEqualTo(String value) {
            addCriterion("is_commont =", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontNotEqualTo(String value) {
            addCriterion("is_commont <>", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontGreaterThan(String value) {
            addCriterion("is_commont >", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontGreaterThanOrEqualTo(String value) {
            addCriterion("is_commont >=", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontLessThan(String value) {
            addCriterion("is_commont <", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontLessThanOrEqualTo(String value) {
            addCriterion("is_commont <=", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontLike(String value) {
            addCriterion("is_commont like", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontNotLike(String value) {
            addCriterion("is_commont not like", value, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontIn(List<String> values) {
            addCriterion("is_commont in", values, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontNotIn(List<String> values) {
            addCriterion("is_commont not in", values, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontBetween(String value1, String value2) {
            addCriterion("is_commont between", value1, value2, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsCommontNotBetween(String value1, String value2) {
            addCriterion("is_commont not between", value1, value2, "isCommont");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNull() {
            addCriterion("is_delete is null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIsNotNull() {
            addCriterion("is_delete is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeleteEqualTo(String value) {
            addCriterion("is_delete =", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotEqualTo(String value) {
            addCriterion("is_delete <>", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThan(String value) {
            addCriterion("is_delete >", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteGreaterThanOrEqualTo(String value) {
            addCriterion("is_delete >=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThan(String value) {
            addCriterion("is_delete <", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLessThanOrEqualTo(String value) {
            addCriterion("is_delete <=", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteLike(String value) {
            addCriterion("is_delete like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotLike(String value) {
            addCriterion("is_delete not like", value, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteIn(List<String> values) {
            addCriterion("is_delete in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotIn(List<String> values) {
            addCriterion("is_delete not in", values, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteBetween(String value1, String value2) {
            addCriterion("is_delete between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andIsDeleteNotBetween(String value1, String value2) {
            addCriterion("is_delete not between", value1, value2, "isDelete");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNull() {
            addCriterion("add_time is null");
            return (Criteria) this;
        }

        public Criteria andAddTimeIsNotNull() {
            addCriterion("add_time is not null");
            return (Criteria) this;
        }

        public Criteria andAddTimeEqualTo(String value) {
            addCriterion("add_time =", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotEqualTo(String value) {
            addCriterion("add_time <>", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThan(String value) {
            addCriterion("add_time >", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeGreaterThanOrEqualTo(String value) {
            addCriterion("add_time >=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThan(String value) {
            addCriterion("add_time <", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLessThanOrEqualTo(String value) {
            addCriterion("add_time <=", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeLike(String value) {
            addCriterion("add_time like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotLike(String value) {
            addCriterion("add_time not like", value, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeIn(List<String> values) {
            addCriterion("add_time in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotIn(List<String> values) {
            addCriterion("add_time not in", values, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeBetween(String value1, String value2) {
            addCriterion("add_time between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddTimeNotBetween(String value1, String value2) {
            addCriterion("add_time not between", value1, value2, "addTime");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNull() {
            addCriterion("add_user_id is null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIsNotNull() {
            addCriterion("add_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andAddUserIdEqualTo(Integer value) {
            addCriterion("add_user_id =", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotEqualTo(Integer value) {
            addCriterion("add_user_id <>", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThan(Integer value) {
            addCriterion("add_user_id >", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("add_user_id >=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThan(Integer value) {
            addCriterion("add_user_id <", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("add_user_id <=", value, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdIn(List<Integer> values) {
            addCriterion("add_user_id in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotIn(List<Integer> values) {
            addCriterion("add_user_id not in", values, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andAddUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("add_user_id not between", value1, value2, "addUserId");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNull() {
            addCriterion("edit_time is null");
            return (Criteria) this;
        }

        public Criteria andEditTimeIsNotNull() {
            addCriterion("edit_time is not null");
            return (Criteria) this;
        }

        public Criteria andEditTimeEqualTo(String value) {
            addCriterion("edit_time =", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotEqualTo(String value) {
            addCriterion("edit_time <>", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThan(String value) {
            addCriterion("edit_time >", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeGreaterThanOrEqualTo(String value) {
            addCriterion("edit_time >=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThan(String value) {
            addCriterion("edit_time <", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLessThanOrEqualTo(String value) {
            addCriterion("edit_time <=", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeLike(String value) {
            addCriterion("edit_time like", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotLike(String value) {
            addCriterion("edit_time not like", value, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeIn(List<String> values) {
            addCriterion("edit_time in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotIn(List<String> values) {
            addCriterion("edit_time not in", values, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeBetween(String value1, String value2) {
            addCriterion("edit_time between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditTimeNotBetween(String value1, String value2) {
            addCriterion("edit_time not between", value1, value2, "editTime");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIsNull() {
            addCriterion("edit_user_id is null");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIsNotNull() {
            addCriterion("edit_user_id is not null");
            return (Criteria) this;
        }

        public Criteria andEditUserIdEqualTo(Integer value) {
            addCriterion("edit_user_id =", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotEqualTo(Integer value) {
            addCriterion("edit_user_id <>", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdGreaterThan(Integer value) {
            addCriterion("edit_user_id >", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("edit_user_id >=", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdLessThan(Integer value) {
            addCriterion("edit_user_id <", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdLessThanOrEqualTo(Integer value) {
            addCriterion("edit_user_id <=", value, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdIn(List<Integer> values) {
            addCriterion("edit_user_id in", values, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotIn(List<Integer> values) {
            addCriterion("edit_user_id not in", values, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdBetween(Integer value1, Integer value2) {
            addCriterion("edit_user_id between", value1, value2, "editUserId");
            return (Criteria) this;
        }

        public Criteria andEditUserIdNotBetween(Integer value1, Integer value2) {
            addCriterion("edit_user_id not between", value1, value2, "editUserId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}